/**
 * 
 */
package com.ctg.payroll2.service.sysadmin;

import java.sql.SQLException;
import java.util.List;

import com.ctg.payroll2.bean.po.PbSysparmDetail;
import com.ctg.payroll2.bean.po.PbSysparmMaster;

/**
 * @author 郑致力
 *
 */
public interface SystemParametersDetailService {

	List<PbSysparmMaster> getSysParaMaster() throws SQLException;
	List<PbSysparmMaster> getSysParaMaster(int id) throws SQLException;
	void addSysParaMaster(PbSysparmMaster sysparmMaster);
	void updateSysParaMaster(PbSysparmMaster sysparmMaster);
	void delSysParaMaster(PbSysparmMaster sysparmMaster);
	
	/**
	 * 查询系统参数值
	 * 
	 * @param id 
	 * @return
	 * @throws SQLException
	 */
	List<PbSysparmDetail> getSystemParameters(int id) throws SQLException;
	List<PbSysparmDetail> getSystemParameters(String beanName) throws SQLException;
}
